package com.jiangxjsy.core.exception;

import com.jiangxjsy.core.common.Reflux;
import lombok.Getter;

/**
 * wukong-crm-master
 * 蒋胜宇
 * 2025/6/4 16:23
 */

@Getter
public class NoLoginException extends RuntimeException {
    private final Reflux userExtra;

    public NoLoginException() {
        this(null);
    }

    public NoLoginException(Reflux userExtra) {
        super("please login first", null, false, false);
        this.userExtra = userExtra;
    }
}
